package sql

import (
	"gorm.io/gorm"
)

type PptList struct {
	gorm.Model
	Title       string
	Img         string
	Instruction string
	HomeInfo    string
	User        int64
	Time        int64
	StarNum     string
	ShowNum     int64
	DownloadNum int64
	FileId      int64
	Review      string
}

type PptFiles struct {
	gorm.Model
	FileUrl string
	Time    int64
	PptId   int64
}

type DownloadList struct {
	gorm.Model
	FileId      int64
	Time        int64
	UserId      int64
	DownloadNum int64
	StopTime    int64
	FilesKey    int64
}

type User struct {
	gorm.Model
	Name     string
	Password string
	Phone    string
	Email    string
	Icon     string
	Time     int64
	Info     string
	Type     string
}

type Token struct {
	gorm.Model
	Token      string
	CreateTime int64
	ExpireTime int64
	UserId     int64
}
